import { Module } from "@nestjs/common";
import { TypeOrmCommonModule } from "./typeorm/typeorm-common.module";
import { MongooseCommonModule } from "./mongoose/mongoose-common.module";
import { PrismaCommonModule } from "./prisma/prisma-common.module";
import { UserRepository } from "@/examples/user/user.repository";

@Module({
    imports: [
        TypeOrmCommonModule,
        MongooseCommonModule,
        PrismaCommonModule
    ],
    providers: [
        UserRepository
    ],
    exports: [
        TypeOrmCommonModule,
        MongooseCommonModule,
        PrismaCommonModule,
        UserRepository
    ]
})
export class DatabaseModule {}